Skip to content

Conversation

@heesup
Copy link
Contributor

@heesup heesup commented Nov 15, 2024

Changed from

    int2 new_plant_count = XMLloadint2(canopy_node, "plant_count");
    if (new_plant_count.x != nullvalue_i && new_plant_count.y != nullvalue_i) {
        plant_count = plant_count;
    }

to

    int2 new_plant_count = XMLloadint2(canopy_node, "plant_count");
    if (new_plant_count.x != nullvalue_i && new_plant_count.y != nullvalue_i) {
        plant_count = new_plant_count;
    }

…ng: assigning field to itself [-Wself-assign-field]
@bnbailey-psl
Copy link
Contributor

Fixed in v1.3.23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants